export const fileBeatInstanceColumns = [
  {
    title: 'IP',
    dataIndex: 'ip',
    slotName: 'ip',
    width: 150,
  },
  {
    title: '状态',
    dataIndex:'status',
    sortable: {
      sortDirections: ['ascend']
    },
    width: 120,
    slotName: 'status',
    filterable: {
      filters: [{
        text: '正常',
        value: '正常',
      }, {
        text: '异常',
        value: '异常',
      }],
      filter: (value, record) => record.status === value[0],
    },
    
  },
  {
    title: '内存使用',
    dataIndex:'memory',
    // width: 120
  },
  {
    title: '输出类型',
    // width: 100,
    dataIndex: 'outputType'
  },
  // {
  //   title: '系统平均负载',
  //   width: 120,
  //   dataIndex:'systemCpuLoad',
  //   slotName: 'systemCpuLoad'
  // },
  {
    title: '运行时间',
    dataIndex: 'uptime'
  },
  {
    title: '版本',
    // width: 100,
    dataIndex:'version'
  },
  {
    title: '刷新时间',
    dataIndex: 'time',
    slotName: 'time',
  },
]